package com.citic.netty.common.protocol.response;

import java.util.List;

import com.citic.netty.common.protocol.Command;
import com.citic.netty.common.protocol.Packet;
import com.citic.netty.common.protocol.session.Session;

public class ListGroupMembersResponsePacket extends Packet {

	private static final long serialVersionUID = 1L;

	private String groupId;

    private List<Session> sessions;

    public String getGroupId() {
		return groupId;
	}

	public void setGroupId(String groupId) {
		this.groupId = groupId;
	}

	public List<Session> getSessions() {
		return sessions;
	}

	public void setSessions(List<Session> sessions) {
		this.sessions = sessions;
	}

	@Override
    public Byte getCommand() {
        return Command.LIST_GROUP_MEMBERS_RESPONSE;
    }
}